MPHB\Shortcodes\SearchResultsShortcode B

Total Complexity 88
Dependencies 7
Dependents 1
Total lines 982
Lines of code 617
Logical lines of code 300
Comment lines 194
Methods 22
Properties 20

Methods 22

Method Rating Maintainability Complexity Lines of code
renderRecommendation()
B
31 11 136
setupMatchedRoomTypes()
A
36 12 91
render()
A
41 10 54
setupSearchData()
S
51 6 27
renderBookButton()
S
48 4 37
getAvailableRoomTypes()
S
45 3 42
parseInputData()
S
61 5 11
parseCheckOutDate()
S
55 4 20
getRoomTypesQuery()
S
55 4 19
renderReservationCart()
S
49 2 36
mainLoop()
S
59 3 15
parseCheckInDate()
S
59 3 13
stickRequestedRoomType()
S
61 3 12
setup()
S
59 2 16
generateRecommmendation()
S
64 3 9
parseChildren()
S
63 3 10
parseAttributes()
S
64 3 10
parseAdults()
S
63 3 10
renderRoomType()
S
57 1 17
addActions()
S
57 1 16
renderResultsInfo()
S
63 1 10
showErrorsMessage()
S
71 1 6